package com.bobo.nutzbook.bean;

import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.json.Json;
import org.nutz.json.JsonFormat;

import lombok.Data;

@Data
public class BasePojo {

	@Column("create_time")
	protected Date createTime;
	@Column("update_time")
	protected Date updateTime;
	
	public String toString()
	{
		return String.format("/*%s*/%s", super.toString(), Json.toJson(this, JsonFormat.compact()));
	}
}
